package com.cqjtu.eecs.mapper;

import com.cqjtu.eecs.entity.Course;
import com.cqjtu.eecs.entity.CourseSystem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 课程体系 Mapper 接口
 * </p>
 *
 * @author
 * @since 2022-02-28
 */
@Mapper
@Repository
public interface CourseSystemMapper extends BaseMapper<CourseSystem> {
    int updateCourseByCourseSystemId(Integer id, CourseSystem courseSystem);
    ArrayList<CourseSystem> selectAllCourseSystem();

    ArrayList<CourseSystem> selectAllCourseSystemIsNull();

    List<CourseSystem> selectAllCourseSystemByPreCourseSystemId(Integer temp);
}
